/* used in map view - custom controls overlaying google maps, detail - controls below map image */

/*** map canvas -cng ***/
html, body ,#map_canvas{
	height: 100%; 
	margin: 0; 
	padding: 0 
}

#map_canvas{
	/*position: relative;*/
	top: 0;
	left:0;
	width: 100%;
	min-height: 500px;
}
/*** slide out menu  -cng ***/ 
#slideout{
	position: fixed;
  	left: 0;
  	-webkit-transition-duration: 0.3s;
  	-moz-transition-duration: 0.3s;
  	-o-transition-duration: 0.3s;
  	transition-duration: 0.3s;
  	opacity: 0.9;
}

#slideout #pulltab {
	background-color: black;
	position: fixed;
	width: 30%;
	left:35%;
	padding:2px;
	bottom: 0%;
	text-align: center;
	font-weight: bold;
	font-size: 60%;
	color:white;
	border-radius: 5px 5px 0 0;

	-webkit-transition-duration: 0.3s;
  	-moz-transition-duration: 0.3s;
  	-o-transition-duration: 0.3s;
  	transition-duration: 0.3s;
}

#slideout_inner{
	position: fixed;
  	bottom: -30%;
  	width: 100%;
  	height:30%;
  	background-color: black;
  	-webkit-transition-duration: 0.3s;
  	-moz-transition-duration: 0.3s;
  	-o-transition-duration: 0.3s;
  	transition-duration: 0.3s;
}

#slideout_inner.expand{
  	bottom:0;
}

#slideout #pulltab.expand{
  	bottom:30%;
}

#slideout_inner button {
	width:40%;
	padding: 3%;
	margin:5%;
	border-radius: 5px;
	color: white;
	font-weight: bold;
	text-align: right;
}

#buzzLife{
	background-color: #689114;
	background: url(/modules/buzz/images/icons/life-button.png) no-repeat left;
}
#buzzClub{
	background-color: #9c4c15;
	background: url(/modules/buzz/images/icons/club-button.png) no-repeat left;
}
#buzzWellbeing{
	background-color: #c0382e;
	background: url(/modules/buzz/images/icons/health-button.png) no-repeat left;
}
#buzzLeisure{
	background-color: #236e87;
	background: url(/modules/buzz/images/icons/leisure-button.png) no-repeat left;
}


/*** expanding search bar ***/

#toolbar {
    height: 48px;
    margin: 0;
    padding: 0;
    -webkit-box-shadow: 0 1px 4px rgba(0,0,0,0.6);
    box-shadow: 0 1px 4px rgba(0,0,0,0.6);
}

/* empty div behind the #toolbar to align the top of the #mapimage */
#spacer {
    height: 48px;
}

#searchbar {
    margin: 0;
    padding: 6px 0 0 0;
    width: 100%;
    float: left;
    background-color: #CACECF;
}

#searchbar form {
	padding-top: 2px;
}

#searchbar fieldset {
    margin: 0;
}

#toolbar.single-campus {
    height: 86px;
}

#toolbar.multi-campus {
    height: 132px;
}

#toolbar .searchwrapper {
    left: 6px;
    right: 88px;
    position: absolute;
}

#toolbar.expanded .searchwrapper {
    left: 6px;
    right: 6px;
}

#search-form {
    margin: 0;
    width: 100%;
}

#search-form input[type="text"] {
	font-size: 88.3%;
	font-family: sans-serif;
    border-radius: 8px;
    border: 1px solid #888;
    width: 96%;
    line-height: 1em;
    height: 18px;
    padding: 4px 2% 6px 2%;
}

/* toolbar: browse/bookmark buttons to the right of the search field */
#toolbar.expanded #toolbar-buttons {
    display: none;
}

.toolbar-button {
    float: right;
    margin: 0 4px 0 0;
	text-align: center;
}

.toolbar-button a {
	display: block;
    width: 35px;
    height: 28px;
	border: 1px solid rgba(0,0,0,0.15);
	border-radius: 6px;
}

.toolbar-button a img {
	padding: 2px 5px;
	border-radius: 6px;
}

/* campus-select: the drop-down menu in multi-campus case */
#campus-select td {
    padding: 0;
}

#campus-select .formlabel {
    width: 84px;
    vertical-align: middle;
}

/* search-options: search/clear/cancel buttons below the search bar */
#search-options {
    display: none;
    left: 0;
    padding: 6px;
    position: absolute;
    right: 0;
    top: 32px;
}

#toolbar.expanded #search-options {
    display: block;
}

/*
#search-options input[type="button"] {
   -webkit-appearance: none;
   padding: 0;
   height: 30px;
   border: 1px solid #666;
   border-radius: 5px;
   width: 90%;
   font: 16px/1em sans-serif;
   background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(rgba(255,255,255,0.2)), to(rgba(0,0,0,0.1)));
   -webkit-box-shadow: 0px 0.5px 1px #000;
   box-shadow: 0px 0px 1px #000;
}
*/
#search-options input[type="button"] {
   -webkit-appearance: none;
   padding: 0;
   height: 30px;
   width: 90%;
	background: -webkit-gradient(linear, left top, left bottom, from(rgba(255,255,255,.25)), to(rgba(128,128,128,0.2)));
	border: 1px solid #eee;
	border: 1px solid rgba(0,0,0,0.25);
	border-bottom-color: rgba(0,0,0,0.4);
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	-o-border-radius: 6px;
	border-radius: 6px;
	color: #444;
	font-size: 75%;
	line-height: 20px;
	text-transform: uppercase;
	text-decoration: none;
	-webkit-tap-highlight-color: rgba(0,0,0,0);
}

#search-options input[type="button"].pressedaction {
	background: rgba(0,0,0,0.33);
	background: -webkit-gradient(linear, left top, left bottom, from(rgba(0,0,0,0.18)), to(rgba(0,0,0,0.12)));
	border-color: rgba(0,0,0,0.65);
	border-top-color: rgba(0,0,0,0.75);
	border-bottom-color: rgba(0,0,0,0.5);
	color: #000;
	-webkit-box-shadow: inset 0 1px 3px #000;
	box-shadow: inset 0 1px 3px #000;
}

#searchbar-buttons {
    clear: both;
    height: 32px;
    margin: 0 -4px 0 -4px;
}

#searchbar-buttons div {
	text-align: center;
    width: 33.3%;
    float: left;
}

/*** fullscreen map styles ***/

body.fullscreen #mapimage.image {
    min-height: none;
    width: 100%;
    border: none;
    display: block !important;
    overflow: hidden;
}

/* don't want map to resize when this shows */
body.fullscreen #toolbar {
    position: absolute;
    left: 0;
    right: 0;
    z-index: 1;
}

body.fullscreen #tabscontainer {
    padding: 6px 12px;
}

#bookmarkWrapper {
    margin: 6px 0;
}

.infoBox {
	border-radius: 6px;
	padding: 0;
	-webkit-box-shadow: 0 1px 5px rgba(0,0,0,0.7);
	box-shadow: 0 1px 5px rgba(0,0,0,0.7);
	height: auto!important;
}

.infoBox img {
	display: none;
}

.calloutMain {
	display: table;
	height: 100%;
	width: 100%;
}

.calloutMain a {
	display: table-cell;
	vertical-align: middle;
	width: 100%;
	height: 100%;
	text-decoration: none;
	font-size: 15px;
	line-height: 18px;	
	text-align: left;
	padding: 8px 37px 8px 8px;
	background: url(/modules/map/images/map-callout.png) no-repeat right;
	background-size: 35px 31px;
	overflow: hidden;
}

.calloutMain a, .calloutMain a:visited {
	color: #111;
}

.calloutDisclosure {
    margin: 6px 0;
}

.calloutTail {
	position: absolute;
	bottom: -10px;
	width: 12px;
	height: 10px;
	left: 50%;
	margin-left: -6px;
	background: url(/modules/map/images/callout-tail.png) no-repeat center;
	background-size: 12px 10px;
}	

#mapimage_infowindow {
    height: auto !important;
    width: 180px !important;
	border: none;
	padding: 0;
	-webkit-box-shadow: 0 1px 4px rgba(0,0,0,0.6);
	box-shadow: 0 1px 4px rgba(0,0,0,0.6);
	margin-left: -100px;
	line-height: 1.2em;
}

#mapimage .content {
    height: auto !important;
	overflow: hidden;
}

#mapimage .simpleInfoWindow .calloutMain a {
	font-size: 14px; 
	line-height: 16px;
	padding-top: 6px;
}

#mapimage .simpleInfoWindow .title {
    border: none;
    padding: 0;
}

#mapimage .simpleInfoWindow .close {
    display: none;
}


/* Action buttons */

.actionbuttons {
	margin: 10px -2px 10px -2px;
}	
.actionbutton {
	margin: 0 2px;
	float: left;
}
.actionbutton a {
	display: block;
	padding: 5px 6px 5px 6px;
	background: -webkit-gradient(linear, left top, left bottom, from(rgba(255,255,255,.15)), to(rgba(128,128,128,0.15)));
	border: 1px solid #eee;
	border: 1px solid rgba(0,0,0,0.12);
	border-top-color: #f3f3f3;
	border-bottom-color: #e9e9e9;
	border-top-color: rgba(0,0,0,0.1);
	border-bottom-color: rgba(0,0,0,0.2);
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	-o-border-radius: 6px;
	border-radius: 6px;
	color: #444;
	font-size: 70%;
	line-height: 20px;
	height: 20px;
	vertical-align: middle;
	text-transform: uppercase;
	text-decoration: none;
	-webkit-tap-highlight-color: rgba(0,0,0,0);
}
.actionbutton a img {
	float: left;
	margin-left: -4px;
}
.actionbutton a:active, .actionbutton a.pressedaction {
	background: -webkit-gradient(linear, left top, left bottom, from(rgba(0,0,0,0.18)), to(rgba(0,0,0,0.12)));
	border-color: rgba(0,0,0,0.65);
	border-top-color: rgba(0,0,0,0.75);
	border-bottom-color: rgba(0,0,0,0.5);
	color: #000;
	-webkit-box-shadow: inset 0 1px 3px #000;
	box-shadow: inset 0 1px 3px #000;
}
.bookmarkbutton {
	background: url(/modules/map/images/map-button-favorites.png) 4px 3px no-repeat;
	background-size: 24px 24px;
}
.on {
	background-image: url(/modules/map/images/map-button-favorites-on.png);
}
.bookmarkbutton a {
	padding-left: 28px;
}
.viewall {
	float: right;
	margin: 0 0 0 15px;
}


/***** pie chart pins ****/

.pieContainer{
	/*height: 100px;*/
	z-index: 9999;
	/*background-color: grey;*/
}

.pieBackground {
    background-color: grey;
    position: absolute;
/*    width: 100px;
    height: 100px;*/
   /* -moz-border-radius: 50px;
    -webkit-border-radius: 50px;
    -o-border-radius: 50px;
    border-radius: 50px;*/
    -moz-box-shadow: -1px 1px 3px #000;
    -webkit-box-shadow: -1px 1px 3px #000;
    -o-box-shadow: -1px 1px 3px #000;
    box-shadow: -1px 1px 3px #000;
} 

.numText{

	position: relative;
	color: white;
	font-weight: bold;
	/*padding: 10px;*/
}

.pie {
          position: absolute;
          width: 100px;
          height: 100px;
          -moz-border-radius: 50px;
          -webkit-border-radius: 50px;
          -o-border-radius: 50px;
          border-radius: 50px;
          /*clip: rect(0px, 50px, 100px, 0px);*/

          -webkit-transform:rotate(70deg);
          /*-moz-transform:rotate(70deg);*/
          /*-o-transform:rotate(70deg);*/
          /*transform:rotate(70deg);*/
     }
     .hold {
          position: absolute;
          width: 100px;
          height: 100px;
          -moz-border-radius: 50px;
          -webkit-border-radius: 50px;
          -o-border-radius: 50px;
          border-radius: 50px;
          clip: rect(0px, 100px, 100px, 50px);
          /*background-color: red;*/
     }
     #pieSlice1 .pie {
          background-color: #1b458b;
          -webkit-transform:rotate(50deg);
          -moz-transform:rotate(50deg);
          -o-transform:rotate(50deg);
          transform:rotate(50deg);
     }

.slice_life{
	background-color: #38df64;
}

.slice_health{
	background-color: #ff4040;
}

.slice_club{
	background-color: #ff9640;
}

.slice_leisure{
	background-color: #3f8fd2;

}


/*** toggle buttons bar -cng ***/
#togglebar input[type="button"]{
	width: 50%;
	height:48px;
	float: left;
	/*text-align: center;*/
	padding-top: 10px;


	background: -webkit-gradient(linear, left top, left bottom, from(rgba(255,255,255,.25)), to(rgba(128,128,128,0.2)));
	/*border: 1px solid #eee;*/
	border: 1px solid rgba(0,0,0,0.25);
	/*border-bottom-color: rgba(0,0,0,0.4);*/
	color: #444;
	font-size: 75%;
	text-transform: uppercase;
	text-decoration: none;
	font-weight: bold;
	-webkit-tap-highlight-color: rgba(0,0,0,0);
}


#buzztip{
  	width: 0; 
	height: 0; 
	border-left: 20px solid transparent;
	border-right: 20px solid transparent;
	
	border-top: 20px solid #7A914B;
	position: absolute;
	
	left: 20%;
	top:93px; 
	z-index: 1;
	display:none;

}

#newstip{
  	width: 0; 
	height: 0; 
	border-left: 20px solid transparent;
	border-right: 20px solid transparent;
	
	border-top: 20px solid #3e7748;
	position: absolute;
	
	left: 70%; 
	top:93px; 
	z-index: 1;
	display:none;

}


#buzzbutton input[type="button"]{
	background-color: #739333;
}
#newsbutton input[type="button"]{
	background-color: #2A7938;
}

#buzztip.show {
    display: block;
}

#newstip.show {
    display: block;
}


